<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>校车管理-云校通-教师</title>
<jsp:include page="/WEB-INF/page/common/_header.jsp"></jsp:include>
<body ontouchstart>
	<div class="weui_tab tab-bottom">
		<div class="weui-header"> 
	  		<div class="weui-header-left" style="color:#000;font-size: 18px;"><b>校车列表</b></div>
	    	<h1 class="weui-header-title"></h1>
	    	<div class="weui-header-right"><a href="<%=basePath %>/ls/schoolbus/myClass" class="f-blue">班级名单</a></div>
	    </div>
		<div class="weui_tab_bd">
			<div class="weui_cells mt0 mb55">
		    	<c:forEach var="item" items="${list }" varStatus="status">
		            <div class="weui_cell">
		                <div class="weui_cell_hd mr10">
		                    <img width="30" src="<%=basePath%>/images/xiaochexianlu@3x.png">
		                </div>
		                <div class="weui_cell_bd weui_cell_primary">
		                    <p>${item.lineName }</p>
		                </div>
		                <div class="weui_cell_ft">
	           				<a href="<%=basePath %>/ls/schoolbus/line/${item.id}?from=list" class="weui_btn weui_btn_mini bg-blue-b">查看线路</a>
		                </div>
		            </div>
		    	</c:forEach>
		    </div>
		</div>
	</div>
</body>
<jsp:include page="/WEB-INF/page/common/_footer.jsp"></jsp:include>
</html>